<?php
/**
 * Created by yuxianjun001@icloud.com
 * User: yuxianjun
 * Date: 2018/3/12 0012
 * Time: 下午 5:50
 */

namespace App\Http\Controllers\openApi;
use App\helpers\FileHelper;
use App\helpers\OsHelper;
use  App\Http\Controllers\common\MyController;
use Illuminate\Http\Request;

class TestController extends  MyController
{
    public function index(){
        echo OsHelper::telOs();
        FileHelper::makeDir('D:\andyYu');die;
        $this->response();
        echo  'in openApi';
    }

    public function para(Request $request){
        $name=$request->input('name');
        echo $name;
    }

}